package com.alks.function.mapper.biocontrol.deptwork;

import com.alks.entity.data.entity.PcLotMtlPrepair;
import com.alks.function.data.request.biocontrol.deptwork.PrepairRequest;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ms
 * @since 2024-01-30
 */
public interface BC_DW_PcLotMtlPrepairMapper extends BaseMapper<PcLotMtlPrepair> {

    List<PcLotMtlPrepair> getBefPrepairQuery(@Param("request") PrepairRequest request, @Param("companyId") String companyId);

    /**
     * 根据指令查询产前试做日期
     * @param lotNo
     * @param companyId
     * @return
     */
    PcLotMtlPrepair getByLotNo(@Param("lotNo") String lotNo, @Param("companyId") String companyId);
}
